package com.dongchedi.mapper;

import com.dongchedi.entity.CustomerLogin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * @author leibidong
 * @description 用户登录注销mapper对象
 * @date 2021/6/23
 */
@Mapper
@Component
public interface UserLoginMapper {
    public CustomerLogin queryByName(String name);
    public CustomerLogin queryById(Integer id);
    public List<CustomerLogin> query();
    public Integer insertUser(CustomerLogin customerLogin);
    public Integer updateStatus(Integer id,Integer status);
    public  CustomerLogin queryStatus(Integer id);
}
